﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Wq.MeetingService.Entities
{
    [Tenant("meeting")]
    [SugarTable("Wq_PrivateRoom")]
    public class PrivateRoomInfo
    {
        /// <summary>
        /// Id  
        /// </summary>
        [SugarColumn(ColumnDescription = "Id", IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 场地Id
        /// </summary>
        [SugarColumn(ColumnDescription = "场地Id")]
        public int VenueId { get; set; }


        /// <summary>
        /// 餐厅Id
        /// </summary>
        [SugarColumn(ColumnDescription = "餐厅Id")]
        public int DiningRommId { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [SugarColumn(ColumnDescription = "包间名称")]
        public string Name { get; set; }

        /// <summary>
        /// 面积
        /// </summary>
        [SugarColumn(ColumnDescription = "面积", ColumnDataType = "decimal(10,2)")]
        public decimal Area { get; set; }

        /// <summary>
        /// 人数
        /// </summary>
        [SugarColumn(ColumnDescription = "人数")]
        public int People { get; set; }

        /// <summary>
        /// 楼层
        /// </summary>
        [SugarColumn(ColumnDescription = "楼层")]
        public int Foor { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        [SugarColumn(ColumnDescription = "数量")]
        public int Quantity { get; set; }

        /// <summary>
        /// 排序序号
        /// </summary>
        [SugarColumn(ColumnDescription = "排序序号")]
        public int Sequence { get; set; }

    }
}
